package com.woniuxy.service;

import com.woniuxy.entity.RbacMenu;
import com.woniuxy.entity.ResponseEntity;
import com.woniuxy.entity.UpRoleDTO;

/**
 * <P> @Author: ideaAdmin
 * <P> TODO: Interface
 * <P> TODO:
 * <P> Date: 2022/2/24:17:35
 * <P> Description:
 */

public interface MenuService {
    /**
     * <P>Author ideaAdmin
     * <P>TODO: 查找所有的权限并返回
     * <P>Date 17:35 2022/2/24
     * <P> *
     * <P>* @return com.woniuxy.entity.ResponseEntity
     **/
    ResponseEntity findAll();

    /**
     * <P>Author ideaAdmin
     * <P>TODO: 更新某个权限 前面是需要设置的目标节点
     * <P>Date 9:06 2022/2/25
     * <P>* @param fatherNode 父结点
    * @param targetNode 后面是需要设置的结点
     * <P>* @return com.woniuxy.entity.ResponseEntity
     **/
    ResponseEntity updateOne(Integer targetNode,Integer fatherNode);

    ResponseEntity updateMenus(RbacMenu rbacMenu);


}
